{% extends "locations/base.html" %}
{% load pagination_tags %}

{% block head_title %}Friends Locations{% endblock %}

{% block body %}
    {% for friendship in friends %}
        {% with friendship.friend.location_set.latest as location %}
            {% include "locations/location.html" %}
        {% endwith %}
    {% endfor %}
{% endblock %}